<div class="g-login">
    <form class="c-align-c" name="form">
        <div class="item">
            <i class="c-icon c-icon-me"></i><!--
            --><input name="phone" type="text" ng-model="user.phone" validator="required,phone" placeholder="请输入用户名"/>
        </div>
        <div class="item">
            <i class="c-icon c-icon-lock"></i><!--
            --><input name="pw" type="password" ng-model="user.pw" validator="required,pw" placeholder="请输入密码"/>
        </div>
        <div class="form-btnBox">
            <button class="btn loginBtn" validation-submit="form" ng-click="submit();">登录</button>
            <button class="btn registerBtn" ui-sref="register">注册</button>
        </div>
    </form>
</div>